<template>
  <div class="page">
    <div class="header">
      <div class="div">
        <i class="iconfont icon-fangdajing"></i>
        <span>搜索商品, 共151477款好物</span>
      </div>
    </div>
    <div class="content1">
      <Menu></Menu>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>

import Menu from '../components/Menu.vue'

import "../assets/iconfont/iconfont.css";
export default {
  components: {
    Menu,
  }

};
</script>
 
<style scoped>
.page {
  display: flex;

}

.header {
  /* padding: 0 15px; */
  height: 44px;
  width: 100%;
}

.header .div {
  width: calc(100% - 30px);
  height: 28px;
  background-color: #3333332d;
  border-radius: 6px;
  margin: 8px auto;
  text-align: center;
  line-height: 28px;
}

.header .div i {
  vertical-align: middle;
  margin-right: 5px;
}

.content1 {
  display: flex;
  flex: 1;
  margin-top: 44px;
}

.content1 .left {
  width: 81px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item {
  padding: 10px 0;
}

.content1 .right {
  flex: 1;
}
</style>